import { login, UserInfo, UserMessage } from '@/api/user'
import { getDepartmentsList, delDepartments, addDepartments, getDepartDetail, updateDepartDetail } from '@/api/departments'
import { getSimplePeoList, getEmployeesList, delEmployeesList, addEmployeesList, importManyEmploy, saveProfileInfo, getProfileInfo, updateProfileInfo, getJobDetail, updateJob, assignRoles } from '@/api/employees'
import { getCompanyUserInfo, getCompanyInfo, delCompanyRolesInfo, editCompanyRolesInfo, getCompanyRolesInfo, addCompanyRolesInfo, assignPerm } from '@/api/setting'
import { getPermissionList, addPermission, updatePermission, getPermissionListById, deletePermission } from './permission'

// 登录页
export const LoginAPI = login
export const UserInfoAPI = UserInfo
export const UserMessageAPI = UserMessage

// 组织架构
export const getDepartmentsListAPI = getDepartmentsList
export const delDepartmentsAPI = delDepartments
export const addDepartmentsAPI = addDepartments
export const getDepartDetailAPI = getDepartDetail
export const updateDepartDetailAPI = updateDepartDetail

// 员工数据
export const getSimplePeoListAPI = getSimplePeoList
export const getEmployeesListAPI = getEmployeesList
export const delEmployeesListAPI = delEmployeesList
export const addEmployeesListAPI = addEmployeesList
export const importManyEmployAPI = importManyEmploy
export const saveProfileInfoAPI = saveProfileInfo
export const getProfileInfoAPI = getProfileInfo
export const updateProfileInfoAPI = updateProfileInfo
export const getJobDetailAPI = getJobDetail
export const updateJobAPI = updateJob
export const assignRolesAPI = assignRoles

// 公司设置
export const getCompanyUserInfoAPI = getCompanyUserInfo
export const getCompanyInfoAPI = getCompanyInfo
export const delCompanyRolesInfoAPI = delCompanyRolesInfo
export const editCompanyRolesInfoAPI = editCompanyRolesInfo
export const getCompanyRolesInfoAPI = getCompanyRolesInfo
export const addCompanyRolesInfoAPI = addCompanyRolesInfo
export const assignPermAPI = assignPerm

// 权限管理
export const getPermissionListAPI = getPermissionList
export const addPermissionAPI = addPermission
export const updatePermissionAPI = updatePermission
export const getPermissionListByIdAPI = getPermissionListById
export const deletePermissionAPI = deletePermission